package com.ruoyi.mapper;

import java.util.List;
import com.ruoyi.domain.FacilitiesApplication;

/**
 * 设备申请Mapper接口
 * 
 * @author ruoyi
 * @date 2025-01-11
 */
public interface FacilitiesApplicationMapper 
{
    /**
     * 查询设备申请
     * 
     * @param fid 设备申请主键
     * @return 设备申请
     */
    public FacilitiesApplication selectFacilitiesApplicationByFid(Long fid);

    /**
     * 查询设备申请列表
     * 
     * @param facilitiesApplication 设备申请
     * @return 设备申请集合
     */
    public List<FacilitiesApplication> selectFacilitiesApplicationList(FacilitiesApplication facilitiesApplication);

    /**
     * 新增设备申请
     * 
     * @param facilitiesApplication 设备申请
     * @return 结果
     */
    public int insertFacilitiesApplication(FacilitiesApplication facilitiesApplication);

    /**
     * 修改设备申请
     * 
     * @param facilitiesApplication 设备申请
     * @return 结果
     */
    public int updateFacilitiesApplication(FacilitiesApplication facilitiesApplication);

    /**
     * 删除设备申请
     * 
     * @param fid 设备申请主键
     * @return 结果
     */
    public int deleteFacilitiesApplicationByFid(Long fid);

    /**
     * 批量删除设备申请
     * 
     * @param fids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteFacilitiesApplicationByFids(Long[] fids);
}
